departments_map = {
    'Appliances': 'D1',
    'Arts, Crafts & Sewing': 'D2',
    'Automotive': 'D3',
    'Baby': 'D4',
    'Beauty & Personal Care': 'D5',
    'Camera & Photo': 'D6',
    'Cell Phones & Accessories': 'D7',
    'Clothing, Shoes & Jewelry': 'D8',
    'Collectible Currencies': 'D9',
    'Computers & Accessories': 'D10',
    'Electronics': 'D12',
    'Grocery & Gourmet Food': 'D12',
    'Handmade Products': 'D13',
    'Health & Household': 'D14',
    'Home & Kitchen': 'D15',
    'Industrial & Scientific': 'D16',
    'Kitchen & Dining': 'D17',
    'Musical Instruments': 'D18',
    'Office Products': 'D19',
    'Patio, Lawn & Garden': 'D20',
    'Pet Supplies': 'D21',
    'Prime Pantry': 'D22',
    'Sports & Outdoors': 'D23',
    'Tools & Home Improvement': 'D24',
    'Toys & Games': 'D25',
}


# map the departments in the left panel => category keywords in the url
departments_keywords_map = {
    'Appliances': 'appliances',
    'Arts,Crafts&Sewing': 'arts-crafts',
    'Automotive': 'automotive',
    'Baby': 'baby-products',
    'Beauty&PersonalCare': 'beauty',
    'Camera&PhotoProducts': 'photo',
    'CellPhones&Accessories': 'wireless',
    'Clothing,Shoes&Jewelry': 'fashion',
    'CollectibleCurrencies': 'coins',
    'Computers&Accessories': 'pc',
    'Electronics': 'electronics',
    'Grocery&GourmetFood': 'grocery',
    'HandmadeProducts': 'handmade',
    'Health&Household': 'hpc',
    'Home&Kitchen': 'home-garden',
    'Industrial&Scientific': 'industrial',
    'Kitchen&Dining': 'kitchen',
    'MusicalInstruments': 'musical-instruments',
    'OfficeProducts': 'office-products',
    'Patio,Lawn&Garden': 'lawn-garden',
    'PetSupplies': 'pet-supplies',
    'Sports&Outdoors': 'sporting-goods',
    'Tools&HomeImprovement': 'hi',
    'Toys&Games': 'toys-and-games'
}


# map the spider type name => url second url
spider_type_map = {
    'CoreProductsBestSellers': 'Best-Sellers/zgbs/',
    'CoreProductsMostWishedFor': 'gp/most-wished-for/',
    'CoreProductsGiftIdeas': 'gp/most-gifted/',
    'CoreProductsMoversAndShakers': 'gp/movers-and-shakers/',
    'CoreProductsNewReleases': 'gp/new-releases/'
}
